home *** CD-ROM | disk | FTP | other *** search
- Path: sparc13.ncu.edu.tw!s3032089
- From: s3032089@sparc13.ncu.edu.tw (Alexander PeaceLand)
- Newsgroups: comp.lang.c
- Subject: Q about the float point format......
- Date: Tue, 19 Mar 1996 07:57:17 GMT
- Organization: NCU ME
- Message-ID: <s3032089.15.314E68DD@sparc13.ncu.edu.tw>
- NNTP-Posting-Host: @140.115.65.133
-
-
- Could I dynamicly set the digits after the float POINT?
-
- In other word... I use printf to print the float point number
- like 123.456789 but in the other time i only
- want to print 123.456 or 123.4
- How shall I do? Thanks! :)
-
- (Forgive me so poor in writing English!)
-
- o----------------------------------------------------------o
- | (''') |
- | ( 0 0 ) E-mail address : s3032089@sparc13.ncu.edu.tw |
- | ----- |
- | ||||| - Alexander PeaceLand - |
- o----------------------------------------------------------o
-